package com.cqtczh.qhd.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller

public class IndexController {
	
	@RequestMapping("/")
	public String index(ModelMap modelMap){
		modelMap.put("name", "张三");
		return "index";
	}
	
}
